﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="menu_ban.ascx.cs" Inherits="menu_ban" %>
    <asp:Repeater ID="rpListParentProduct" runat="server" OnItemDataBound="rpListParentProduct_ItemDataBound">
        <HeaderTemplate>
            <ul id="ulParent">
        </HeaderTemplate>
        <ItemTemplate>
            <li><a href="#">
                <%#Eval("ProductGroup")%>
            </a>
                <ul class="ulChildrent">
                    <asp:Repeater ID="rpListChildProduct" runat="server">
                        <ItemTemplate>
                            <li><a href="#">
                                <%#Eval("ProductGroup")%>
                            </a></li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
            </li>
            <asp:HiddenField ID="hrID" runat="server" Value='<%#Eval("Id") %>' />
            <!-- cai nay de luu ID cua danh muc cap cha  -->
        </ItemTemplate>
        <FooterTemplate>
            </ul>
        </FooterTemplate>
    </asp:Repeater>
    